<%@ include file="../import_page.jsp"%>
<%
	//login checking
	Users logined = null;
	if(loginedChecking(session, UsersType.staff)) {
		//user logined
		logined = (Users)session.getAttribute(SESSION_LOGIN_USER);
	}
	else
	{
		//user don't login
		//redirect to home page
		response.sendRedirect(URL_HOMEPAGE);
	}
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5" />
<title>Main Page</title>
<style type="text/css">
<!--
.style1 {
	font-size: large;
	font-weight: bold;
}

body {
	background-image: url(../images/staff_bg.jpg);
}
-->
</style>
</head>

<body>
	<table width="500" height="500" border="1" cellpadding="0"
		cellspacing="0" bordercolor="#CCCCCC">
		<tr>
			<td class="pageName style1"><p>Login As:Staff</p>
				<p>
					Name:
					<%= logined.getName() %></p>
				<p>
					Staff ID:
					<%= logined.getId() %>
				</p>
			</td>
		</tr>
		<tr>
			<td height="138" valign="top" class="bodyText"><p>This Home
					Page layout makes a great starting point for your website.
					Virtually all of the content is customizable, including the images,
					the text, and the links. You can decide whether to keep the
					existing graphics or swap them out for pictures of your own.</p>
				<p>The text on this page is intended to help you jumpstart your
					design by suggesting the sort of content you may want to include,
					but don't let it limit you. The same is also true for the link text
					- feel free to change the names of the links to better suit your
					particular needs. The Home Page layout can be used for multiple
					pages on your site, or you can choose from the Text, Catalogue,
					Product, or Calendar layouts as well. Don't be afraid to get
					creative and combine different page layouts to make your site as
					engaging as possible. If you have any questions about using
					Contribute to edit these pages, refer to the Read Me file included
					with the download or to the Contribute Help System. Have fun and
					make a great website!</p>
			</td>
		</tr>
	</table>
	<p align="center">
		<a href="../images/Student/f_login.html"></a>
	</p>
</body>
</html>
